<?php

class DvdsController extends AppController {
    public $name = "Dvds";
    public $helpers = array("Html", "Form", "Session");
    public $components = array("Session");
    // global ratings variable
    public $ratings = array("0" => "0", "1" => "1", "2" => "2", "3" => "3", "4" => "4", "5" => "5", "6" => "6", "7" => "7", "8" => "8", "9" => "9", "10" => "10");
    
    public function index() {
        
    }
    
    public function view($slug) {
        
    }
    
    public function admin_index() {
        $dvds = $this->Dvd->findAllByStatus("1");
        $this->set("dvds", $dvds);
    }
    
    public function admin_add() {
        
    }
    
    public function admin_edit($id = null) {
        
    }
    
    public function admin_delete($id = null) {
        
    }
}

?>